









package com.company.z1qiaoliang.section3;

/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 */
public abstract class Corp {
	
	private Product product;
	
	public Corp(Product product){
		this.product = product;
	}
	
	public void makeMoney(){	
		
		this.product.beProducted();
		
		this.product.beSelled();
	}
}